CUSTOM Windows API .NET 1.08
Loading...
Searching...
No Matches
Custom.CuCustomWndAPI.PrintImageSettings Class Reference

Public Types

enum  ImageScale : byte
 Print Image : scaling type. More...
 
enum  ImageAlign : byte
 Print Image : Image justification. More...
 
enum  ImageGRMode : byte
 Print Image : threshold mode to print the Image. More...
 
enum  RAWBitDepth : byte
 RAW Bit depth type. More...
 

Public Member Functions

 PrintImageSettings ()
 Default constructor.
 
override string ToString ()
 

Properties

ImageAlign ImageAlignMode [get, set]
 
UInt32 LeftMarginValue [get, set]
 
UInt32 PrintScaleWidthValue [get, set]
 
ImageScale PrintScaleMode [get, set]
 

Detailed Description

Print Image Settings

Member Enumeration Documentation

◆ ImageAlign

Print Image : Image justification.

Enumerator
IMAGE_ALIGN_TO_LEFT 

Indicates that the Picture Justification is Left

IMAGE_ALIGN_TO_CENTER 

Indicates that the Picture Justification is Center

IMAGE_ALIGN_TO_RIGHT 

Indicates that the Picture Justification is Right

◆ ImageGRMode

Print Image : threshold mode to print the Image.

Enumerator
IMAGE_GRMODE_DITHERING 

Indicates that the Image will be converted to Black / White using Dithering way. Best Quality for Photos and Graphics but slow(Default)

IMAGE_GRMODE_THRESHOLD 

Indicates that the Image will be converted to Black / White using Threshold way Best Quality for Text, but not for graphics, but quick

◆ ImageScale

Print Image : scaling type.

Enumerator
IMAGE_SCALE_NONE 

Indicates that the Picture will be No scaling. Excess size will be ignored

IMAGE_SCALE_TO_FIT 

Indicates that the Picture will be Scale to fit the paper width

IMAGE_SCALE_TO_WIDTH 

Indicates that the Picture will be Scale the image to width given by width parameter

◆ RAWBitDepth

RAW Bit depth type.

Enumerator
MONOCHROMATIC_1BIT 

The raw image is Monochromatic

GREYSCALE_8BIT 

The raw image is 256 level greyscale

RGB_24BIT 

The raw image is 24 bit RGB

Member Function Documentation

◆ ToString()

override string Custom.CuCustomWndAPI.PrintImageSettings.ToString ( )
inline

Convert the Print Image Settings to a String

Property Documentation

◆ ImageAlignMode

ImageAlign Custom.CuCustomWndAPI.PrintImageSettings.ImageAlignMode
getset

◆ LeftMarginValue

UInt32 Custom.CuCustomWndAPI.PrintImageSettings.LeftMarginValue
getset

Left margin (dots). If this value is different to 0, the parameter imageAlignMode will be ignored

Referenced by Custom.CuCustomWndAPI.PrintImageSettings.PrintImageSettings(), and Custom.CuCustomWndAPI.PrintImageSettings.ToString().

◆ PrintScaleMode

ImageScale Custom.CuCustomWndAPI.PrintImageSettings.PrintScaleMode
getset

◆ PrintScaleWidthValue

UInt32 Custom.CuCustomWndAPI.PrintImageSettings.PrintScaleWidthValue
getset